<div class="widget transparent nopadding no-margin">
    <div class="widget-header">
        <span class="widget-caption">筛选</span>
        <div class="widget-buttons">
            <a href="#" data-toggle="collapse">
                <i class="fa fa-minus blue "></i>
            </a>
        </div>
    </div>
    <div class="widget-body no-padding-bottom">
		<form class="form" id="${searchFormId}" role="form" action="${actionUrl}">
			<input type="hidden" name="containerId" value="${containerId}">
			<input type="hidden" name="searchFormId" value="${searchFormId}">
			<div class="row">
				<div class="col-sm-10">
					 <div class="form-group">
				        <label class="sr-only" for="roleName">角色名称</label>
				        <input type="text" class="form-control" name="roleName" placeholder="角色名称" value="${search_map.roleName[0]}">
				    </div>
				</div>
				<div class="col-sm-2">
			    	<button type="button" class="btn btn-info shiny search" onclick="loadRoleList('${containerId}','${searchFormId}')"><i class="fa fa-search"></i>搜索</button>
				</div>
			</div>
		</form>
    </div>
</div>
<div class="topPagingBar">
	${pagingBar}
</div>
<!-- 数据表列信息列表 -->
<table class="table table-bordered dataTable">
	<thead>
		<tr>
			<th title="属性名">序号</th>
			<th title="园所名称">园所名称</th>
			<th title="角色名称">角色名称</th>
			<th title="是否禁用">是否禁用</th>
			<th title="创建时间">创建时间</th>
			<th title="选择" style="width: 50px;">操作</th>
		</tr>
	</thead>
	<tbody>
		<#if page_bean.list?size==0>
			<tr>
				<td align="center" colspan="4">无数据</td>
			</tr>
		</#if>
		<#list page_bean.list as data>
			<tr>
				<td>${data_index+1+(page_bean.pageNo-1)*page_bean.pageSize}</td>
				<td>${(data.group.name???string(data.group.name?html,""))!'未设置'}</td>
				<td>${(data.roleName???string(data.roleName?html,""))!'未设置'}</td>
				<td>${data.isForbidden?string("是","否")}</td>
				<td>${(data.createTime???string(data.createTime?html,""))!'未设置'}</td>
				<td>
					<a class="btn btn-default btn-xs icon-only  blue" title="设置" href="javascript:" onclick=setPermission('${data.id}','roleListId','${data.roleName???string(data.roleName?html,"")}') targetCallbackClickTagId="hpl_search" deleteUrl="${deleteUrl}" targetDataId="${data.id}"><i class="fa fa-cog"></i></a>
				</td>
			</tr>
		</#list>
	</tbody>
</table>
 ${pagingBar}